from pydantic import BaseModel
from datetime import date

class SignStatusResponse(BaseModel):
    """签到状态响应模型"""
    has_signed: bool
    continuous_days: int
    today: str  # 格式: YYYY-MM-DD
    
class SignResponse(BaseModel):
    """签到结果响应模型"""
    success: bool
    message: str
    points_added: int  # 本次签到获得的积分
    total_points: int  # 签到后总积分
    continuous_days: int  # 当前连续签到天数